package com.tanhua.domain.db;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Admin extends BasePojo{

    private static final long serialVersionUID = 8755870717206032537L;

    private Long id;
    private String username;
    private String password;
    private String avatar;
    /**
     * token
     */
    @TableField(exist = false)  // 不再跟数据库表做映射
    private String token;
}